/**
 * 
 */
package com.ml.poc.testlink.testng;


import org.testng.TestNG;


/**
 * @author jingpli
 * 
 */
public class TestNGtPoc {

	public static void main(String[] args) {
		TestNGtPoc p = new TestNGtPoc();
		p.testM1();
	}

	private void testM1() {
		TestNGLisener tla = new TestNGLisener();
		TestNG testng = new TestNG();
		testng.setTestClasses(new Class[] {TestNGTest.class});
		testng.addListener(tla);
		testng.addListener(new TestNGReporter());
		testng.run(); 
	}

}
